package com.hn658.groupshare.security.dao;

import com.hn658.groupshare.common.enums.VerifyCodeType;

public interface IVerifyCodeRedisDao {

	public void delectVerifyCode(String phone, VerifyCodeType type);

	public String getVerifyCode(String phone, VerifyCodeType type);

	public void saveVerifyCode(String phone, VerifyCodeType type, String code);

	public void saveVerifyCode(String phone, VerifyCodeType type, String code, Integer minutes);
}
